home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-06-13 | 529 b | 26 lines | [TEXT/EDIT] |
- class TEST_COPPERFIELD
- --
- -- From a bug report of : Philippe RIBET
- --
-
- creation make
-
- feature
-
- make is
- local
- copperfield:INTEGER;
- do
-
- copperfield:= (5 // ((5).sqrt.floor));
- if copperfield /= (5 // ((5).sqrt.floor)) then
- io.put_integer(copperfield);
- io.put_string("%NC'est de la magie a l'etat pur !%N");
- io.put_integer((5)//((5+1).sqrt.floor)+1);
- else
- io.put_string("%NIl faut ressayer...%N");
- end;
- end;
-
- end -- TEST_COPPERFIELD
-